<!DOCTYPE html>
<html lang="en" class="js csstransforms3d">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,
      maximum-scale=1, user-scalable=no">
    <meta name="generator" content="Hugo 0.85.0" />
    <meta name="description" content="">


    <link rel="shortcut icon" href="./images/favicon.png" type="image/x-icon" />
    <link rel="icon" href="./images/favicon.png" type="image/x-icon" />

    <title>Home :: Mesen Documentation</title>


    <link href="./css/nucleus.css?1626403088" rel="stylesheet">
    <link href="./css/font-awesome.min.css?1626403088" rel="stylesheet">
    <link href="./css/hybrid.css?1626403088" rel="stylesheet">
    <link href="./css/featherlight.min.css?1626403088" rel="stylesheet">
    <link href="./css/perfect-scrollbar.min.css?1626403088" rel="stylesheet">
    <link href="./css/horsey.css?1626403088" rel="stylesheet">
    <link href="./css/theme.css?1626403088" rel="stylesheet">
    <link href="./css/hugo-theme.css?1626403088" rel="stylesheet">
    <link href="./css/custom.css?1626403088" rel="stylesheet">

    <link href="./css/theme-green.css?1626403088" rel="stylesheet">


    <script src="./js/jquery-2.x.min.js?1626403088"></script>

    <style type="text/css">
        :root #header+#content>#left>#rlblock_left {
            display: none !important;
        }
    </style>
</head>

<body class="" data-url="./">
    <nav id="sidebar" class="">



        <div id="header-wrapper">
            <div id="header">
                <a id="logo" href="./index.html">
                    <img src="./images/MesenIcon.png" />
                </a>

            </div>

            <div class="searchbox">
                <label for="search-by"><i class="fa fa-search"></i></label>
                <input data-search-input id="search-by" type="text" placeholder="Search...">
                <span data-search-clear=""><i class="fa fa-close"></i></span>
            </div>

            <script type="text/javascript" src="./js/lunr.min.js?1626403088"></script>
            <script type="text/javascript" src="./js/horsey.js?1626403088"></script>
            <script type="text/javascript">
                var baseurl = "";
            </script>
            <script type="text/javascript" src="./js/searchjson.js?1626403088"></script>
            <script type="text/javascript" src="./js/search.js?1626403088"></script>
        </div>

        <div class="highlightable">
            <ul class="topics">








                <li data-nav-id="/gettingstarted.html" title="Getting Started" class="dd-item">
                    <a href="./gettingstarted.html">
                        起步(Getting Started)

                    </a>


                </li>










                <li data-nav-id="/configuration.html" title="Configuration" class="dd-item">
                    <a href="./configuration.html">
                        配置(Configuration)

                    </a>


                    <ul>













                        <li data-nav-id="/configuration/audio.html" title="Audio Options" class="dd-item">
                            <a href="./configuration/audio.html">
                                音频选项(Audio Options)

                            </a>
                        </li>













                        <li data-nav-id="/configuration/input.html" title="Input Options" class="dd-item">
                            <a href="./configuration/input.html">
                                输入选项(Input Options)

                            </a>
                        </li>













                        <li data-nav-id="/configuration/video.html" title="Video Options" class="dd-item">
                            <a href="./configuration/video.html">
                                视频选项(Video Options)

                            </a>
                        </li>













                        <li data-nav-id="/configuration/emulation.html" title="Emulation
                Options" class="dd-item">
                            <a href="./configuration/emulation.html">
                                模拟器选项(Emulation Options)

                            </a>
                        </li>













                        <li data-nav-id="/configuration/preferences.html" title="Preferences" class="dd-item">
                            <a href="./configuration/preferences.html">
                                喜好设定(Preferences)

                            </a>
                        </li>







                    </ul>

                </li>










                <li data-nav-id="/tools.html" title="Tools" class="dd-item">
                    <a href="./tools.html">
                        工具(Tools)

                    </a>


                </li>










                <li data-nav-id="/debugging.html" title="Debugging Tools" class="dd-item">
                    <a href="./debugging.html">
                        调试工具(Debugging Tools)

                    </a>


                    <ul>













                        <li data-nav-id="/debugging/debugger.html" title="Debugger" class="dd-item">
                            <a href="./debugging/debugger.html">
                                调试器(Debugger)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/apuviewer.html" title="APU Viewer" class="dd-item">
                            <a href="./debugging/apuviewer.html">
                                APU查看器(APU Viewer)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/assembler.html" title="Assembler" class="dd-item">
                            <a href="./debugging/assembler.html">
                                汇编查看器(Assembler)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/eventviewer.html" title="Event Viewer" class="dd-item">
                            <a href="./debugging/eventviewer.html">
                                事件查看器(Event Viewer)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/memorytools.html" title="Memory Tools" class="dd-item">
                            <a href="./debugging/memorytools.html">
                                内存工具(Memory Tools)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/performanceprofiler.html" title="Performance Profiler"
                            class="dd-item">
                            <a href="./debugging/performanceprofiler.html">
                                性能检查(Performance Profiler)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/ppuviewer.html" title="PPU Viewer" class="dd-item">
                            <a href="./debugging/ppuviewer.html">
                                PPU查看器(PPU Viewer)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/scriptwindow.html" title="Script
                Window" class="dd-item">
                            <a href="./debugging/scriptwindow.html">
                                脚本窗口(Script Window)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/texthooker.html" title="Text Hooker" class="dd-item">
                            <a href="./debugging/texthooker.html">
                                文本Hook(Text Hooker)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/tracelogger.html" title="Trace Logger" class="dd-item">
                            <a href="./debugging/tracelogger.html">
                                跟踪器(Trace Logger)

                            </a>
                        </li>













                        <li data-nav-id="/debugging/debuggerintegration.html" title="Integration with compilers"
                            class="dd-item">
                            <a href="./debugging/debuggerintegration.html">
                                编译器交互(Integration with compilers)

                            </a>
                        </li>







                    </ul>

                </li>


                <li data-nav-id="/hdpacks.html" title="HD Packs" class="dd-item">
                    <a href="./hdpacks.html">
                        HD打包(HD Packs)

                    </a>


                </li>










                <li data-nav-id="/apireference.html" title="Lua API reference" class="dd-item">
                    <a href="./apireference.html">
                        Lua脚本api索引(Lua API reference)

                    </a>


                    <ul>













                        <li data-nav-id="/apireference/changelog.html" title="Changelog" class="dd-item">
                            <a href="./apireference/changelog.html">
                                修改日志(Changelog)

                            </a>
                        </li>













                        <li data-nav-id="/apireference/callbacks.html" title="Callbacks" class="dd-item">
                            <a href="./apireference/callbacks.html">
                                回调(Callbacks)

                            </a>
                        </li>













                        <li data-nav-id="/apireference/drawing.html" title="Drawing" class="dd-item">
                            <a href="./apireference/drawing.html">
                                绘制(Drawing)

                            </a>
                        </li>













                        <li data-nav-id="/apireference/emulation.html" title="Emulation" class="dd-item">
                            <a href="./apireference/emulation.html">
                                模拟器(Emulation)

                            </a>
                        </li>













                        <li data-nav-id="/apireference/input.html" title="Input" class="dd-item">
                            <a href="./apireference/input.html">
                                输入(Input)

                            </a>
                        </li>













                        <li data-nav-id="/apireference/logging.html" title="Logging" class="dd-item">
                            <a href="./apireference/logging.html">
                                日志(Logging)

                            </a>
                        </li>













                        <li data-nav-id="/apireference/memoryaccess.html" title="Memory
                Access" class="dd-item">
                            <a href="./apireference/memoryaccess.html">
                                内存访问(Memory Access)

                            </a>
                        </li>













                        <li data-nav-id="/apireference/misc.html" title="Miscellaneous" class="dd-item">
                            <a href="./apireference/misc.html">
                                杂项(Miscellaneous)

                            </a>
                        </li>













                        <li data-nav-id="/apireference/enums.html" title="Enums" class="dd-item">
                            <a href="./apireference/enums.html">
                                枚举值(Enums)

                            </a>
                        </li>







                    </ul>

                </li>





            </ul>



            <section id="shortcuts">
                <h3>更多(More)</h3>
                <ul>

                    <li class="" role="">
                        <a class="padding" href="https://www.mesen.ca"><img style='vertical-align: middle'
                                src='./images/favicon.png' /> <span style='display:
                  inline;vertical-align: middle'>Website</span></a>
                    </li>

                    <li class="" role="">
                        <a class="padding" href="https://github.com/SourMesen/Mesen"><i class='fa fa-github'></i>
                            GitHub</a>
                    </li>

                </ul>
            </section>



            <div id="menuspacer"></div>
            <section id="footer">
                <div class="menuFooter">
                    <div class="donateButton">
                        <a href="https://www.mesen.ca/Donate.php"><img src="./images/patreon.png" alt="Become a Patron!"
                                width="66%" height="66%"></a>
                    </div>
                    <div class="donateButton">
                        <a class="bmc-button" target="_blank" href="https://www.mesen.ca/BuyCoffee.php"><img
                                src="./images/BMC-btn-logo.svg" alt="Donate"><span
                                style="margin-left:5px">Donate</span></a>
                    </div>
                    Version: <b>0.9.9</b><br /> Last Updated: <b>2021-07-16</b>
                </div>

            </section>
        </div>
    </nav>





    <section id="body">
        <div id="overlay"></div>
        <div class="padding highlightable sticky-parent">



            <div id="body-inner">



                <span id="sidebar-toggle-span">
                    <a href="#" id="sidebar-toggle" data-sidebar-toggle=""><i class="fa
                fa-bars"></i> navigation</a>
                </span>


                <!-- raw HTML omitted -->
                <h3 id="table-of-contents">目录(Table of contents)</h3>
                <ol>
                    <li><a href="./gettingstarted.html">起步 Getting Started</a></li>
                    <li><a href="./configuration.html">配置 Configuration</a>
                        <ul>
                            <li><a href="./configuration/audio.html">音频选项 Audio Options</a></li>
                            <li><a href="./configuration/input.html">输入选项 Input Options</a></li>
                            <li><a href="./configuration/video.html">视频选项 Video Options</a></li>
                            <li><a href="./configuration/emulation.html">模拟器选项 Emulation Options</a></li>
                            <li><a href="./configuration/preferences.html">喜好设定 Preferences</a></li>
                        </ul>
                    </li>
                    <li><a href="./tools.html">工具Tools</a>
                        <ul>
                            <li><a href="./tools.html#netplay">联机 Netplay</a></li>
                            <li><a href="./tools.html#movies">TAS播放 Movies</a></li>
                            <li><a href="./tools.html#cheats">作弊 Cheats</a></li>
                            <li><a href="./tools.html#sound-recorder">录音 Sound Recorder</a></li>
                            <li><a href="./tools.html#video-recorder">录屏 Video Recorder</a></li>
                            <li><a href="./tools.html#log-window">日志窗口 Log Window</a></li>
                        </ul>
                    </li>
                    <li><a href="./debugging.html">调试工具 Debugging Tools</a>
                        <ul>
                            <li><a href="./debugging/assembler.html">汇编器 Assembler</a></li>
                            <li><a href="./debugging/debugger.html">调试器 Debugger</a></li>
                            <li><a href="./debugging/eventviewer.html">事件查看 Event Viewer</a></li>
                            <li><a href="./debugging/memorytools.html">内存工具 Memory Tools</a></li>
                            <li><a href="./debugging/performanceprofiler.html">性能优化 Performance
                                    Profiler</a></li>
                            <li><a href="./debugging/ppuviewer.html">PPU查看器 PPU Viewer</a></li>
                            <li><a href="./debugging/scriptwindow.html">脚本窗口 Script Window</a></li>
                            <li><a href="./debugging/texthooker.html">文本钩子 Text Hooker</a></li>
                            <li><a href="./debugging/tracelogger.html">追踪器 Trace Logger</a></li>
                            <li><a href="./debugging/debuggerintegration.html">编辑器交互 Integration
                                    with CC65/ASM6</a></li>
                        </ul>
                    </li>
                    <li><a href="./hdpacks.html">HD Packs</a></li>
                    <li><a href="./apireference.html">Lua API reference</a></li>
                </ol>



            </div>
        </div>

        <div id="navigation">














































































































































































































































































































































































































































































































































            <a class="nav nav-next" href="./gettingstarted.html" title="Getting
          Started" style="margin-right: 0px;"><i class="fa fa-chevron-right"></i></a>

        </div>

    </section>

    <div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px;
      border: none; box-sizing: content-box; height: 200px; margin: 0px;
      padding: 0px; width: 200px;">
        <div style="border: none; box-sizing: content-box; height: 200px; margin:
        0px; padding: 0px; width: 200px;"></div>
    </div>
    <script src="./js/clipboard.min.js?1626403088"></script>
    <script src="./js/perfect-scrollbar.min.js?1626403088"></script>
    <script src="./js/perfect-scrollbar.jquery.min.js?1626403088"></script>
    <script src="./js/jquery.sticky-kit.min.js?1626403088"></script>
    <script src="./js/featherlight.min.js?1626403088"></script>
    <script src="./js/html5shiv-printshiv.min.js?1626403088"></script>
    <script src="./js/highlight.pack.js?1626403088"></script>
    <script>
        hljs.initHighlightingOnLoad();
    </script>
    <script src="./js/modernizr.custom.71422.js?1626403088"></script>
    <script src="./js/learn.js?1626403088"></script>
    <script src="./js/hugo-learn.js?1626403088"></script>

    <link href="./mermaid/mermaid.css?1626403088" type="text/css" rel="stylesheet" />
    <script src="./mermaid/mermaid.js?1626403088"></script>
    <script>
        mermaid.initialize({
            startOnLoad: true
        });
    </script>
</body>

</html>